package Model;

import java.util.ArrayList;

public class Album {
	private String albumName;
	private int albumYear;
	ArrayList<Nummer> songs = new ArrayList<Nummer>();	
	
	public Album(String name, int year, ArrayList<Nummer> songs){
		albumName = name;
		albumYear = year;
		this.songs = songs;
	}
	
	public void addSong(Nummer song){
		this.songs.add(song);
	}

	//getters and setters
	public String getAlbumName() {
		return albumName;
	}
	public ArrayList<Nummer> getSongs() {
		return songs;
	}

	public void setSongs(ArrayList<Nummer> songs) {
		this.songs = songs;
	}

	public void setAlbumName(String albumName) {
		this.albumName = albumName;
	}
	
	public int getAlbumYear() {
		return albumYear;
	}
	
	public void setAlbumYear(int albumYear) {
		this.albumYear = albumYear;
	}
	
	
}
